From: Aryeh Gregor Date: Fri, 5 Jan 2007 17:34:35 +0000 (+0000) Subject: Work around a bizarre interpretation of standards by Mozilla (https://bugzilla.mozill... X-Git-Tag: 1.31.0-rc.0~54652 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=f9a8c8551b36f5612f6f1c49781ebd38b6473272;p=lhc%2Fweb%2Fwiklou.git Work around a bizarre interpretation of standards by Mozilla (https://bugzilla.mozilla.org/show_bug.cgi?id=365970): when links are underlined, so should all their descendants. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d3b97d0798..c2cca1ac50 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -462,6 +462,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 8330) Show "bytes" suffix on recent changes diff counter * (bug 8489) Support basic links in caption attribute * (bug 8485) Correct Lingala number formatting +* When links are underlined, the entire link text should be underlined, even + if it contains elements with a background color set. == Languages updated == diff --git a/includes/Skin.php b/includes/Skin.php index 662e229231..2eef17e8c2 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -460,7 +460,7 @@ var wgAjaxWatch = { $s = ''; if (($undopt = $wgUser->getOption("underline")) != 2) { $underline = $undopt ? 'underline' : 'none'; - $s .= "a { text-decoration: $underline; }\n"; + $s .= "a, a * { text-decoration: $underline; }\n"; } if( $wgUser->getOption( 'highlightbroken' ) ) { $s .= "a.new, #quickbar a.new { color: #CC2200; }\n";